package T_1;

public class ling {
	public static void main(String[] args) {

	for (int j =0; j<4; j++) {
        for (int k = 0; k <3-j; k++) {
            System.out.print(" ");
        }
            for (int i = 0; i <2*j+1 ; i++) {
                System.out.print("*");
            }
        System.out.println();
}
	for (int j =2; j>=0; j--) {
        for (int k = 0; k <3-j; k++) {
            System.out.print(" ");
        }
            for (int i = 0; i <2*j+1 ; i++) {
                System.out.print("*");
            }
        System.out.println();
}
}
}
